package com.zmn.oms.common.dio.discount;

import com.zmn.common.utils.pager.Pages;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @author sunlife
 * @date:2022/4/15 上午10:53
 * description:
 */
@Data
@ApiModel("用户优惠列表查询类")
public class UserCoupQuery extends Pages implements Serializable {
    private static final long serialVersionUID = 2964588055509590203L;

    @NotNull(message = "订单号不能为空")
    @ApiModelProperty("订单号")
    private Long orderId;

    @NotNull(message = "工单号不能为空")
    @ApiModelProperty("工单号")
    private Long workId;
}
